# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit gnome2 subversion

DESCRIPTION="Labyrinth is a mind-mapping tool for the GNOME desktop. It is written in Python and uses cairo for its rendering."
SRC_URI=""
HOMEPAGE="http://donscorgie.pwp.blueyonder.co.uk/"
ESVN_REPO_URI="http://labyrinth.googlecode.com/svn/trunk"

LICENSE="GPL2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

DEPEND="x11-libs/gtk+
		dev-python/pygtk
		dev-python/pycairo"

src_unpack() {
	subversion_src_unpack
	sed -ie 's:help::' ${S}/Makefile.am
	NOCONFIGURE=1 ./autogen.sh
}

src_compile() {
	econf || die "configure failed."
	make || die "make failed."

}

src_install() {
	make DESTDIR=${D} install || die "install failed."
}
